package com.kmxd.ams.client.use.dto;

import com.kmxd.ams.core.common.enums.UsePushOperateEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * 推送表
 *
 * @author nickbi
 * @since 2023-01-11
 */
@Schema(description = "操作对象")
@Data
public class UsePushOperateDTO implements Serializable {

  private static final long serialVersionUID = 1L;

  /** 主键 */
  @Schema(description = "主键")
  @NotNull(message = "主键不能为空")
  private Long id;

  /** 推送类型:1申请,2主动 */
  @Schema(description = "操作类型:1推送,2取消推送，3驳回")
  @NotNull(message = "推送类型不能为空")
  private UsePushOperateEnum type;
  /** 备注 */
  @Schema(description = "备注")
  private String remarks;
}
